
//按钮样式输入模型
export interface buttonStyle {

    buttonStyleId: string

    /// <summary>
    /// 样式名称
    /// </summary>
    buttonStyleName: string

    /// <summary>
    /// 按钮大小  'large'| 'default'| 'small'
    /// </summary>
    size: string

    /// <summary>
    /// 样式 'primary'| 'success'| 'warning'| 'danger'| 'info'| 'text'(delete)
    /// </summary>
    types: string

    /// <summary>
    /// 图标
    /// </summary>
    icon: string

    /// <summary>
    /// 自定义按钮颜色
    /// </summary>
    color: string

    /// <summary>
    /// 文本颜色
    /// </summary>
    textColor: string

    /// <summary>
    /// 是否文字按钮
    /// </summary>
    isText: boolean

    /// <summary>
    /// 是否圆角
    /// </summary>
    isRound: boolean

    /// <summary>
    /// 是否圆型按钮
    /// </summary>
    isCircle: boolean

    /// <summary>
    /// 是否朴素按钮
    /// </summary>
    isPlain: boolean

    /// <summary>
    /// 是否连接按钮
    /// </summary>
    isLink: boolean

    /// <summary>
    /// 排序
    /// </summary>
    orderBy: number
}

//按钮样式输出模型
export interface SysButtonStyleOutPut {

    /// <summary>
    /// 按钮样式id
    /// </summary>
    buttonStyleId: string

    /// <summary>
    /// 样式名称
    /// </summary>
    buttonStyleName: string

    /// <summary>
    /// 图标
    /// </summary>
    icon: string

    /// <summary>
    /// 按钮大小  
    /// </summary>
    size: string

    /// <summary>
    /// 按钮颜色
    /// </summary>
    color: string

    /// <summary>
    /// 文本颜色
    /// </summary>
    textColor: string

    /// <summary>
    /// 按钮类型
    /// </summary>
    types: string

    /// <summary>
    /// 是否文字按钮
    /// </summary>
    isText: boolean

    /// <summary>
    /// 是否圆角按钮
    /// </summary>
    isRound: boolean

    /// <summary>
    /// 是否为圆形按钮
    /// </summary>
    isCircle: boolean

    /// <summary>
    /// 是否为朴素按钮
    /// </summary>
    isPlain: boolean

    /// <summary>
    /// 是否链接按钮
    /// </summary>
    isLink: boolean

    /// <summary>
    /// 是否禁用按钮
    /// </summary>
    isDisabled: boolean

    /// <summary>
    /// 使用次数
    /// </summary>
    useCount: number

    /// <summary>
    /// 创建时间
    /// </summary>
    createTime: string

    /// <summary>
    /// 创建人员
    /// </summary>
    createUser: string

    /// <summary>
    /// 创建人姓名
    /// </summary>
    userName: string
}

//按钮大小集合
export const sizeList = [
    {
        key: 'large',
        value: '大'
    },
    {
        key: 'default',
        value: '默认'
    },
    {
        key: 'small',
        value: '小'
    }
]

//按钮类型
export const typesList = [
    {
        key: '',
        value: '默认按钮'
    },
    {
        key: 'primary',
        value: '蓝色按钮'
    },
    {
        key: 'success',
        value: '绿色按钮'
    },
    {
        key: 'info',
        value: '灰色按钮'
    },
    {
        key: 'warning',
        value: '黄色按钮'
    },
    {
        key: 'danger',
        value: '红色按钮'
    }
]